package com.aceitunaproject.shared.message.concrete;

/**
 * Action Request class for a "Build Settlement" order
 * 
 * @author Federico Bergstein
 * 
 */

public class BuildSettlementRequest extends ActionRequest {

	public static final String TYPE = "BuildSettlementRequest";

	private static final long serialVersionUID = 5262247717172918329L;

	private String name;
	private int positionX;
	private int positionY;

	public BuildSettlementRequest() {
		super(TYPE);
	}

	/**
	 * @param positionX
	 *            the x coordinate in the world map of the tile in which the
	 *            settlement will be built
	 */
	public void setPositionX(int positionX) {
		this.positionX = positionX;
	}

	/**
	 * @return the x coordinate in the world map of the tile in which the
	 *         settlement will be built
	 */
	public int getPositionX() {
		return positionX;
	}

	/**
	 * @param positionY
	 *            the y coordinate in the world map of the tile in which the
	 *            settlement will be built
	 */
	public void setPositionY(int positionY) {
		this.positionY = positionY;
	}

	/**
	 * @return the y coordinate in the world map of the tile in which the settlement will be built
	 */
	public int getPositionY() {
		return positionY;
	}

	/**
	 * @param name
	 *            the name of the settlement to build
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name of the settlement to build
	 */
	public String getName() {
		return name;
	}

}
